<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./static/js/vue.global.js"></script>
    <style>
        .sign span {
            background-color: #b1d805;
            padding: 5px 5px; 
        }
    </style>
</head>
<body>
    <div id="app" style="text-align: center;">
        <h1>个人基本信息</h1>
        <p>姓名：{{ name }}</p>
        <p>年龄：{{ age }}</p>
        <p>爱好：{{ hobby }}</p>
        <p>专业：{{ pro }}</p>
        <div class="sign" v-html="sign"></div>
    </div>
</body>
<script>
    const App = {
        data() {
            return {
                name: '张三',
                age: 20,
                hobby: '吃饭，睡觉，打豆豆',
                pro: '软件技术',
                sign: `'我的名言：<span>1433223</span>'
                <a href="https://gitee.com/wcx6400">点击进入我的Gitee</a>`
                
            };
        }
    };
    Vue.createApp(App).mount('#app');
</script>
</html>